import module from '../../module'

export default name => {
    const root = `${module.code}/${name}/`
    const crud = $http.crud(root)
    // 查询个人明细
    crud.queryuserdaybill = params => {
        return $http.get('/dispatch/common/queryuserdaybill', params)
    }
    return {
        ...crud
    }
}
